﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true" CodeBehind="AdminDangKyThanhVien.aspx.cs" Inherits="LayoutTemplate.WebForm13" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Đăng ký</title>
<script type="text/javascript">
    function MyFunction() 
    {
       
        
    }
</script>
<style type="text/css">
.newStyle1 {
	left: auto;
	position: relative;
	float: left;
	width: 300px;
	height: 100px;
}
.newStyle2 {
	position: relative;
	right: auto;
	float: right;
	width: 200px;
	height: 100px;
}
.newStyle3 {
	width: 300px;
	height: 25px;
}
</style>
</head>

<body>

<div style="width:500px">
	<div class="newStyle1">
	<div class="newStyle3">
			<asp:Label id="lbTenDangNhap" runat="server" Text="Tên đăng nhập"></asp:Label>
	</div>
	<div><br /></div>
		<div class="newStyle3"><asp:Label id="lbMatKhau" runat="server" Text="Mật khẩu"></asp:Label>
        </div>
		<div><br /></div>
		<div class="newStyle3"><asp:Label id="lbNhapLaiMatKhau" runat="server" Text="Nhập lại mật khẩu"></asp:Label></div>
		<div><br /></div>
			<div class="newStyle3">
				<asp:Label id="lbEmail" runat="server" Text="E-mail"></asp:Label>
		
			</div>	
			<div><br /></div>	
	</div>
	<div class="newStyle2">
	<div class="newStyle3">
		<asp:TextBox id="tbTenDangNhap" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator id="RequiredFieldValidatorTenDangNhap" 
            runat="server" ControlToValidate="tbTenDangNhap" 
            ErrorMessage="Xin nhap ten dang nhap"></asp:RequiredFieldValidator>
	
	</div>
	<div><br /></div>
			<div class="newStyle3"><asp:TextBox id="tbMatKhau" runat="server" TextMode="Password"></asp:TextBox>
			<span>
                <asp:RequiredFieldValidator id="RequiredFieldValidatorMatKhau" runat="server" 
                    ControlToValidate="tbMatKhau" ErrorMessage="Xin Nhap PassWord" ></asp:RequiredFieldValidator>
                </span>
                
            </div>
            <div>
            <asp:RegularExpressionValidator ID="regular1" runat="server" 
                    ControlToValidate="tbMatKhau" ErrorMessage="Pass phai 6-20 chu va so" 
                    ValidationExpression="^[a-zA-Z0-9''-'\s]{6,20}$"></asp:RegularExpressionValidator>
            </div>
			<div class="newStyle3"><asp:TextBox id="tbNhapLaiMatKhau"  runat="server" TextMode="Password"></asp:TextBox>&nbsp;<asp:RequiredFieldValidator
                     id="FieldValidator2" runat="server" ControlToValidate="tbNhapLaiMatKhau" 
                     ErrorMessage="Xin nhap phan nay"></asp:RequiredFieldValidator></div>
            <div><asp:CompareValidator 
                    id="CompareValidator1" runat="server" ControlToCompare="tbMatKhau" 
                    ControlToValidate="tbNhapLaiMatKhau" ErrorMessage="Password ko trung"></asp:CompareValidator></div>
			<div class="newStyle3">
				<asp:TextBox id="tbEmail" runat="server"></asp:TextBox>
				<asp:RequiredFieldValidator id="RequiredFieldValidatorEmail" runat="server" 
                    ControlToValidate="tbEmail" ErrorMessage="xin nhap email dang ki"></asp:RequiredFieldValidator>
			</div>
	</div>
	<div><br /><br /><br /></div>
	<div><br /><br /><br /></div>
	<div><br /><br /><br /></div>
	<div>
	<div style="width:50%; float:right">
    <asp:Button ID="btnDangKy" runat="server" Text="Đăng ký" 
        onclick="btnDangKy_Click" /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        
             <a href="AdminDanhSach.aspx?id=1&tt=0&page=1" type="text/asp" />
          
            
           <input type="button" value="Thoat" style="width:75px" onClick="MyFunction()"   />
     </div>
        <div><br />
        </div>
    </div>
</div>
</body>
</asp:Content>
